package cc.sjfx.sharedoc.bean;

import java.io.Serializable;
import java.util.List;

@SuppressWarnings("serial")
public class FileInfo implements Serializable {
	private String filePath;
	private String fileName;
	private String fileType;
	private long fileSize;
	private List<FileInfo> fileInfos;
	public List<FileInfo> getFileInfos() {
		return fileInfos;
	}

	public void setFileInfos(List<FileInfo> fileInfos) {
		this.fileInfos = fileInfos;
	}

	public long getFileSize() {
		return fileSize;
	}

	public void setFileSize(long fileSize) {
		this.fileSize = fileSize;
	}

	public FileInfo(String filePath, String fileName, String fileType,
			long fileSize) {
		super();
		this.filePath = filePath;
		this.fileName = fileName;
		this.fileType = fileType;
		this.fileSize = fileSize;
	}

	public FileInfo() {

	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath.substring(1);
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}
}
